Create Data Table
AutomatR.DefaultActivities.Datatable.CreateDataTable
The "Create Data Table" activity in AutomatR facilitates the creation of a DataTable based on supplied information. This activity is particularly useful for dynamically generating DataTables to store and manipulate data within automation workflows.
Properties
Name | Description |
---|---|
Input | |
Create Data Table | Initiates the Create Data Table wizard, allowing customization of the table to be created. Click the button to configure the properties of the DataTable, including column names, data types, and other settings. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Create Data Table" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
Output | |
Result | Outputs the DataTable variable that stores the information added in the Create Data Table wizard. This DataTable can be further used for data manipulation and analysis in the workflow. DataTable variables to store the created table. |
How to use:
- Drag and drop the "Create Data Table" activity onto the workflow.
- Click the "Create Data Table" button to initiate the wizard.
- In the wizard, configure the properties of the DataTable, including column names, data types, and other settings.
- Optionally, configure the delay.
- Execute the workflow to create the specified DataTable dynamically.
Example: Consider an example where the "Create Data Table" activity is used to create a DataTable with columns "ID," "Name," and "Age":
Create Data Table:
Create Data Table: Click to configure
Result: createdDataTable
In this example, clicking the "Create Data Table" button initiates the wizard, and you can configure the DataTable properties. The resulting DataTable is stored in the "createdDataTable" variable for further use in the workflow. Adjust the input properties and DataTable configuration based on your specific data requirements.